<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <%@include file="../includes/common.jsp" %>
    <%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
    <%@ page contentType="text/html;charset=UTF-8" %>

    <style type="text/css">
        *{margin:0;padding:0;list-style-type:none;}
        a,img{border:0;}
        body{font:12px/180% Arial, Helvetica, sans-serif, "新宋体";}
        .container{width:940px;margin:0 auto;}
    </style>



    <!--必要样式-->
    <link rel="stylesheet" href="css/calendar/fullcalendar.css">
    <link rel="stylesheet" href="css/calendar/fullcalendar.print.css" media='print'>


    <title>课件上传列表</title>
</head>
<body>
<div class="container-fluid" style="padding: 0">
    <div class="row-fluid">



        <div class="container">
            <div class="content">
                <div class="row-fluid">
                    <div class="span12">
                        <div class="box">
                            <div class="box-head">
                                <h3>我的日历</h3>
                                <input type="button" onclick="takeDiary()" value="写日记">
                            </div>
                            <div class="box-content box-nomargin">
                                <div class="calendar"></div>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
        </div>





        <div id="dataEdit" closed="true" modal="true" style="overflow: hidden">
            <iframe style="width: 100%;height: 100%"
                    id="contentFrame"
                    name="contentFrame"
                    marginheight="0"
                    marginwidth="0"
                    frameborder="0" src=""
                    allowTransparency="true">
            </iframe>
        </div>
    </div>
</div>
</body>
</html>

<script type="text/javascript" src="css/calendar/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="css/calendar/fullcalendar.min.js"></script>
<script type="text/javascript" src="css/calendar/script.js"></script>
<script type="text/javascript">
    function takeDiary(){
        var today = new Date().dateFormat();
        $("#contentFrame")[0].contentWindow.document.write("");
        $("#contentFrame").attr("src", basePath + "tourist/registerDo");
        $('#dataEdit').dialog({
            title: '注册',
            height: 400,
            width: 600
        })
        $('#dataEdit').dialog('open');
    }
</script>